<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0030)http://www.miui.com/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta property="qc:admins" content="1403742620626643623270454" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">        
<title>MIUI官方论坛 - MIUI论坛</title>
<meta name="keywords" content="MIUI,xiaomi,小米,MIUI刷机,MIUI8,小米手机,小米手机5,红米手机小米刷机,安卓论坛,小米论坛">
<meta name="generator" content="Discuz! X3">
<meta name="author" content="Discuz! Team and Comsenz UI Team">
<meta name="copyright" content="2001-2013 Comsenz Inc.">
<meta name="MSSmartTagsPreventParsing" content="True">
<meta http-equiv="MSThemeCompatible" content="Yes">
<!--<base href="http://www.miui.com/">-->
<base href=".">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_common.css">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_forum_newindex.css">
<script type="text/javascript" async="" src="/miui/Public/Home/js/ga.js"></script>
<script src="/miui/Public/Home/js/hm.js"></script>
<script type="text/javascript" async="" charset="utf-8" src="/miui/Public/Home/js/core.php"></script>
<script type="text/javascript">
    var STYLEID = '6', STATICURL = 'static/', IMGDIR = 'http://static.bbs.miui.com/static/image/miui/base', VERHASH = 'qck', charset = 'utf-8', discuz_uid = '0', cookiepre = 'MIUI_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'login|newthread', creditnotice = '1|经验|米,2|威望|米,3|贡献|米,4|小米粒|米', defaultstyle = '', REPORTURL = 'aHR0cDovL3d3dy5taXVpLmNvbS9pbmRleC5odG1s', SITEURL = 'http://www.miui.com/', JSPATH = 'http://static.bbs.miui.com/static/js/', DYNAMICURL = '';
</script>
<!-- <script src="/miui/Public/Home/js/common.js" type="text/javascript"></script> -->
<meta name="application-name" content="MIUI论坛">
<meta name="msapplication-tooltip" content="MIUI论坛">
<meta name="msapplication-task" content="name=门户;action-uri=http://www.miui.com/portal.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/portal.ico">
<meta name="msapplication-task" content="name=新帖;action-uri=http://www.miui.com/forum.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/bbs.ico">
<meta name="msapplication-task" content="name=俱乐部;action-uri=http://www.miui.com/group.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/group.ico">
<meta name="msapplication-task" content="name=个人中心;action-uri=http://www.miui.com/home.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/home.ico">
<link rel="archives" title="MIUI论坛" href="http://www.miui.com/archiver/">
<script src="/miui/Public/Home/js/forum.js" type="text/javascript">//var src = /miui/Public/Home/image/nv.png;</script>
</head>

<body id="nv_forum" class="pg_newindex" onkeydown="if(event.keyCode==27) return false;">
    <div id="append_parent"></div><div id="ajaxwaitid"></div>
    <div id="hd">         
        <div class="wp" id="hd_wp">
            <div class="hdc cl">
                <h2><a href="http://www.miui.com/index.html" title="MIUI论坛"><img src="/miui/Public/Home/image/logo.png" alt="MIUI论坛" border="0"></a></h2>
                <div id="um">
                    <div class="p">
                        <?php if(empty($_SESSION['username'])): ?><div class="hd_di1">
                                <a href="<?php echo U('User/login');?>">登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/regist');?>">注册</a>
                            </div>
                        <?php else: ?>
                            <div class="hd_di1">
                                <b>欢迎 <?php echo ($_SESSION['username']); ?> !</b>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/logout');?>">退出登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>">个人中心</a>
                            </div><?php endif; ?>    
                        <div class="hd_di1" style="margin-right:2px;">
                        </div>
                        <div class="hd_di1" style="line-height:28px;">
                            <a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="切换到宽版" class="switchwidth">切换到宽版</a>
                        </div>
                    </div>
                    <div style="clear:both"></div>
                    <div id="searchbar">
                        <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($(&#39;scbar_txt&#39;))" action="http://www.miui.com/search.php?searchsubmit=yes" target="_blank">
                            <input type="hidden" name="mod" id="scbar_mod" value="search">
                            <input type="hidden" name="formhash" value="69fa01e2">
                            <input type="hidden" name="srchtype" value="title">
                            <input type="hidden" name="srhfid" value="0">
                            <input type="hidden" name="srhlocality" value="forum::newindex">
                            <input type="text" name="srchtxt" id="scbar_txt" value="搜索" autocomplete="off" placeholder="搜索">
                            <input type="submit" name="searchsubmit" id="scbar_submit" value="1">
                        <script type="text/javascript">
                        MIUI_initSearchmenu('scbar', '');
                        </script>
                        </form>
                    </div>
                </div>
            </div>

             <div id="nv">
                <ul><li class="a" id="mn_Neacf"><a href="<?php echo U('Index/index');?>" hidefocus="true">首页</a></li><li id="mn_forum"><a href="<?php echo U('Index/bbsIndex');?>" hidefocus="true">新帖</a></li><li id="mn_N30f4"><a href="<?php echo U('BBStype/bbsType');?>" hidefocus="true">全部版块</a></li><?php if(is_array($dataType)): $i = 0; $__LIST__ = $dataType;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li id="mn_N8e4f"><a href="<?php echo U('Home/BBStype/bbsView',array('tid'=>$v[tid]));?>" hidefocus="true" title="MIUI"><?php echo ($v["tname"]); ?><span><?php echo ($v["tname"]); ?></span></a></li><?php endforeach; endif; else: echo "" ;endif; ?><li id="mn_Nf9f9"><a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>" hidefocus="true" title="Friday">个人中心<span>Friday</span></a></li><li id="mn_N077a"><a href="<?php echo U('Index/HealthNews');?>" hidefocus="true" target="_blank">生活资讯</a></li></ul>
            </div>
            <div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl">
            </div><!-- common/pubsearchfor___debug___m --></div>
            <div id="nv_fixed"></div>
        </div>
        <script src="/miui/Public/Home/js/header_extend.js" type="text/javascript"></script>
        
        <div id="wp" class="wp">
            <link rel="stylesheet" href="/miui/Public/Home/css/reset.css">
            <link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/right.css">
            <link rel="stylesheet" href="/miui/Public/Home/css/index.css">
            <script src="/miui/Public/Home/js/jquery.1.7.1.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/jqeury.qrcode.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/index.js" type="text/javascript"></script>
            <script type="text/javascript" src="/miui/Public/Home/js/jquery-1.8.3.min.js"></script>
    
	<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/BBSinvit.css">
	
	<div id="wp" class="wp">

	<script type="text/javascript">var fid = parseInt('37'), tid = parseInt('4823610');</script>

	
	<script type="text/javascript">zoomstatus = parseInt(1);var imagemaxwidth = '720';var aimgcount = new Array();</script>

	<style id="diy_style" type="text/css"></style>
	<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
	<div id="pt" class="bm cl">
	<div class="z">
	<a href="http://www.miui.com/index.php" class="nvhm" title="首页">MIUI论坛</a> <em>›</em> <a href="<?php echo U('BBStype/bbsView',array('tid'=>$TypeData01['tid']));?>"><?php echo ($TypeData01["tname"]); ?></a> <em>›</em> <a href="<?php echo U('BBStype/bbsView',array('tid'=>$TypeData02['tid']));?>"><?php echo ($TypeData02["tname"]); ?></a> <em>›</em> <a><?php echo ($InitData["intitle"]); ?></a>
	</div>
	</div>
	<div class="miui_b_p"></div>
	<style id="diy_style" type="text/css"></style>
	<div class="wp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
	</div>
	<div id="ct" class="wp cl">
		<div id="pgt" class="pgs mbm cl ">
			<button id="CLbtn">插楼评论</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button id="like" >收藏</button>
			<label style="display:none;" id="inid"><?php echo ($InitData["inid"]); ?></label>
			<label style="display:none;" id="title"><?php echo ($InitData["intitle"]); ?></label>
			<label style="display:none;" id="session"><?php echo ($_SESSION['username']); ?></label>
			<label style="display:none;" id="tname"><?php echo ($TypeData02["tname"]); ?></label>
			<label style="display:none;" id="time"><?php echo ($InitData["intime"]); ?></label>
		</div>
<script type="text/javascript">
	$('#like').on('click',function(){
		// 判断是否已登录
		if ($('#session').html() == '') {
			alert('请先登录!');
		} else {
			// ajax实现无刷新收藏
			$.ajax({
				type:'POST',
				url:"<?php echo U('Like/ajax');?>",
				// 获得帖子ID
				data:"intitle="+$('#title').html()+"&session="+$('#session').html()+"&tname="+$('#tname').html()+"&time="+$('#time').html()+"&inid="+$('#inid').html(),
				success:function(data){
					// 请求成功 判断是否已经收藏
					if (data == '1') {
						alert('请不要重复收藏!');
					} else if(data == '0'){
						$('#like').html('已收藏');
					}
				},
				
			})
		}
	})
</script>
		<!-- 帖子作者 -->
		<div class="BBSinvitContent">
			<table>
					<tr><td></td><td><span class="BBSfloorLZ">楼主</span></td></tr>
					<tr class="BbsLz">
						<td class="LZhead">
							<ul>
								<li class="TXhead"><a href="<?php echo U('Space/index',array('uid'=>$UserData['uid']));?>"><img src="/miui/Public/Home/image/space/touxiang/<?php echo ($UserData["userimage"]); ?>"></a></li>
								<li class="LZname"><?php echo ($UserData["username"]); ?></li>
								<li class="LZlv">等级:<?php echo ($UserData["score"]); ?></li>
								<li class="LeftInfo"><span class="left01">积分:</span><span class="left02"><?php echo ($UserData["score"]); ?></span></li>
								<li class="LeftInfo"><span class="left01">签到:</span><span class="left02">10</span></li>
								<li class="LeftInfo"><span class="left01">发帖数:</span><span class="left02">10</span></li>
							</ul>
						</td>
						<td class="LZcontent">
							<ul>
								<li class="BbsTitle"> 【 <?php echo ($InitData["intitle"]); ?> 】 </li>
								<li>
									<div class="LZinvit">
										<?php echo (htmlspecialchars_decode($InitData["intext"])); ?>
									</div>
								</li>
							</ul>
							
						</td>
					</tr>
					<tr class="BBSreplay">
						<table style="width:650px;margin-left:150px;" class="BBStable">
					            <tr>
					                <th><span class="span"><input type="hidden" value="<?php echo ($UserData["username"]); ?>"><button id="LzUid" value="<?php echo ($UserData["uid"]); ?>" class="REbtn">回复楼主</button></span></th>
					                <th colspan="3"></th>
					                <th>操作</th>
					            </tr>
								<?php if(is_array($initRep)): $i = 0; $__LIST__ = $initRep;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
					                
					                <td colspan="4" style="color:#1A98E8;"><span><?php echo ($vo["username"]); ?></span><span style="color:#000;">回复:</span><span><?php echo ($vo["rename"]); ?>&nbsp;&nbsp;</span><span style="color:#000;"><?php echo ($vo["rtext"]); ?></span></td>
					                <td class="ReDe">
					                    <input type="hidden" value="<?php echo ($vo["username"]); ?>">
					                    <span class="rere">回复</span>
										<input type="hidden" value="<?php echo ($vo["uid"]); ?>">
					                    <span>&nbsp;&nbsp;&nbsp;</span>
					                    <span class="dede">删除</span>
					                    <input type="hidden" value="<?php echo ($vo["rid"]); ?>">
					                </td>
					            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
					           <tr class="REtr"><td colspan="5"><input type="hidden" value="0"><input class="replay" type="text" name="rtext"><button class="FSbtn">发送</button></td></tr>
					    </table>
					</tr>
				
			</table>
		</div>
		<!-- 评论 -->
		<?php if(is_array($ComData)): $k = 0; $__LIST__ = $ComData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><div class="BBSinvitContent">
			<table>
					<tr><td></td><td><span class="Ctime">发表于[ <?php echo (date('Y年m月d日 H:i:s',$vo["ctime"])); ?> ]</span><input type="hidden" value="<?php echo ($vo["uid"]); ?>"><span class="BBSfloor"><?php echo ($k + 1); ?>楼</span><input type="hidden" value="<?php echo ($vo["cid"]); ?>"></td></tr>
					<tr style="height:20px;"><td></td></tr>
					<tr class="BbsLz">
						<td class="LZhead">
							<ul>
								<li class="TXhead"><a href="<?php echo U('Space/index',array('uid'=>$vo['uid']));?>"><img src="/miui/Public/Home/image/space/touxiang/<?php echo ($vo["userimage"]); ?>"></a></li>
								<li class="LZname"><?php echo ($vo["username"]); ?></li>
								<li class="LZlv">等级:<?php echo ($vo["score"]); ?></li>
								<li class="LeftInfo"><span class="left01">积分:</span><span class="left02"><?php echo ($vo["score"]); ?></span></li>
								<li class="LeftInfo"><span class="left01">签到</span><span class="left02">10</span></li>
								<li class="LeftInfo"><span class="left01">发帖数</span><span class="left02">10</span></li>
							</ul>
						</td>
						<td class="LZcontent">
							<ul>
								
								<li>
									<div class="LZinvit">
										<?php echo (htmlspecialchars_decode($vo["ctext"])); ?>
									</div>
								</li>
							</ul>
							
						</td>
					</tr>
					<tr class="BBSreplay">
						<table style="width:650px;margin-left:150px;" class="BBStable">
					            <tr>
					                <th><span class="span"><input type="hidden" value="<?php echo ($vo["username"]); ?>"><button value="<?php echo ($vo["uid"]); ?>" class="REbtn">回复[<?php echo ($k + 1); ?>楼]</button></span></th>
					                <th>&nbsp;</th>
					                <th></th>
					                <th></th>
					                <th>操作</th>
					            </tr>
								<?php if(is_array($vo['replay'])): $i = 0; $__LIST__ = $vo['replay'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr>
					                
					                <td colspan="4" style="color:#1A98E8;"><span><?php echo ($v["username"]); ?></span><span style="color:#000;">回复:</span><span><?php echo ($v["rename"]); ?>&nbsp;&nbsp;</span><span style="color:#000;"><?php echo ($v["rtext"]); ?></span></td>
					                <td class="ReDe">
					                	<input type="hidden" value="<?php echo ($v["username"]); ?>">
					                    <span class="rere">回复</span>
										<input type="hidden" value="<?php echo ($v["uid"]); ?>">
					                    <span>&nbsp;&nbsp;&nbsp;</span>
					                    <span class="dede">删除</span>
					                    <input type="hidden" value="<?php echo ($v["rid"]); ?>">
					                </td>
					            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
					           	<tr class="REtr"><td colspan="5"><input type="hidden" value="<?php echo ($vo["cid"]); ?>"><input class="replay" type="text" name="rtext"><button class="FSbtn">发送</button></td></tr>
					    </table>
					</tr>
				
			</table>
		</div><?php endforeach; endif; else: echo "" ;endif; ?>
		<?php echo ($page); ?>
	</div>

	<script type="text/javascript">
		$(function(){
			//点击回复楼主
			$('.REbtn').click(function(){
				reuid = $(this).val();
				rename = $(this).prev().val();
				$('.REtr').show(100);
			})
			//点击回复他人
			$('.rere').click(function(){
				reuid = $(this).next().val();
				rename = $(this).prev().val();
				$('.REtr').show(100);
			})
			//点击发送
			$('.FSbtn').click(function(){
				$('.REtr').hide(100);
				var inid = $('#BBSinid').val();
				var rtext = $(this).prev().val();
				var cid = $(this).prev().prev().val();
				var _this = $(this);
				
				$.ajax({
					type:'POST',
					url:"<?php echo U('BBScomment/BBSinvitReAdd');?>",
					data:{inid:inid,reuid:reuid,rtext:rtext,cid:cid,rename:rename},
					async:false,
					success:function(data){

						if(data == '1'){
							alert('请先登录');
						}else{
							$('<tr><td colspan="4" style="color:#1A98E8;"><span>'+data['username']+'</span><span style="color:#000;">回复:</span><span>'+rename+'&nbsp;&nbsp;</span><span style="color:#000;">'+rtext+'</span></td><td class="ReDe"><input type="hidden" value="'+data['username']+'"><span class="rere">回复</span><input type="hidden" value="'+data['uid']+'"><span>&nbsp;&nbsp;&nbsp;</span><span class="dede">删除</span></td></tr>').insertBefore(_this.parent('td').parent('tr'));
						}
						
					},
					dataType:'json',
				})
			})
		})
	</script>
	

    
	<!-- 删除回复 -->
	<script type="text/javascript">
		$(function(){
			$('.dede').hide();
			var NowU = "<?php echo ($_SESSION['uid']); ?>";
			var LzUid = $('#LzUid').val();
			if(NowU == LzUid){
				$('.dede').show();
			}else{
				$('.ReDe').mouseover(function(){
					var uid = $(this).children().eq(2).val();
					if(NowU == uid){
						$(this).children().eq(4).show();
					}
				})
				$('.ReDe').mouseout(function(){
					$(this).children().eq(4).hide();
				})
			}

			
			//点击删除
			$('.dede').click(function(){
				var rid = $(this).next().val();
				var _this = $(this).parent('td').parent('tr');
				
				$.ajax({
					type:'GET',
					url:"<?php echo U('BBScomment/BBSinvitReDel');?>",
					data:'rid='+rid,
					async:false,
					success:function(data){
						_this.hide();
					},
				})
			})
		})
	</script>
	<!-- 删除评论 -->
	<script>
	$(function(){
		var NowU = "<?php echo ($_SESSION['uid']); ?>";
		var LzUid = $('#LzUid').val();

		$('.BBSfloor').mouseover(function(){
			LouC = $(this).html();
			var uid = $(this).prev().val();
			if( (NowU == LzUid)||(NowU == uid) ){
				$(this).html('删除');
				$(this).css({ cursor: "pointer", background: "#FE0000" });
				$(this).click(function(){
					var _this = $(this).parent('td').parentsUntil('#ct');
					var cid = $(this).next().val();
					$.ajax({
						type:'GET',
						url:"<?php echo U('BBScomment/BBScommentDel');?>",
						data:'cid='+cid,
						async:false,
						success:function(data){
							console.log(data);
							_this.hide();
						},
					})
				})
			}	
		})

		$('.BBSfloor').mouseout(function(){
			$(this).html(LouC);
			$(this).css("background","#1A98E8");
		})
	})
	</script>

        <script type="text/javascript">
            _attachEvent($('weixin_title'), 'click', function (event) {
                var t = $('weixin_logo');
                var te = $('weixin_title');
                event.stopPropagation();
                if(t.style.display != 'block'){
                    t.style.display = 'block';
                    te.style.fontWeight = 'bold';
                    te.style.color = '#4c4c4c';
                }else{
                    t.style.display = 'none';
                    te.style.fontWeight = 'normal';
                    te.style.color = '#909090';
                }
            });

            jQuery(function() {
                var SignAjax = Ajax("JSON");

                
                jQuery(document).on("click", "#lottery_step_0", function() {
                    SignAjax.get('extra.php?mod=sign/index&op=signlottery', SignAjaxCallback.signlottery);
                });
                jQuery(document).on("click", "#lottery_step_1", function() {
                    jQuery("#sign_show_area").html("");
                });
                jQuery(document).on("click", "#lottery_step_2", function() {
                    showWindow('__signconfirmarea__', 'extra.php?mod=sign/index&op=confirmlottery', 'get', 0);
                    setTimeout(function() {jQuery("#sign_show_area").html("");}, 1000);
                });
                var SignAjaxCallback = {
                    sign : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (!res.lottery) {
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        } else {
                            jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                            jQuery("#ct").children("div.sd").css("overflow", "visible");
                        }
                        jQuery(".pf_num>span").html(parseInt(jQuery(".pf_num>span").html()) + 1);
                        
                        
                        
                        jQuery(".link_no_cursor").css("cursor", "default");
                        jQuery(".pf_sign_rank").attr("href", "extra.php?mod=sign/rank");
                    },

                    signlottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (jQuery("#lottery_step_1").get(0)) {
                            jQuery(".pf_sign_link").remove();
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        }
                    },

                    checklottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                        jQuery("#ct").children("div.sd").css("overflow", "visible");
                        jQuery(".pf_sign_link").off("click");
                    }
                }
            })
    _attachEvent(window, 'scroll', function () {
    var right_fixed = $('float_right');
    var left_content = $('left_content');
    var viewPortHeight = parseInt(document.documentElement.clientHeight);
    var scrollHeight = parseInt(document.body.getBoundingClientRect().top);
    var sw = right_fixed.clientWidth;
    var sh = right_fixed.clientHeight;
    var basew = parseInt(left_content.clientWidth);

    var divs = right_fixed.getElementsByTagName('div');
    if(scrollHeight < -600 - sh){
    right_fixed.style.position = 'fixed';
    right_fixed.style.top = '58px';
    var left = parseInt(fetchOffset(left_content)['left']);
    right_fixed.style.left = ( basew + left + 13) + 'px';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'none';
    }
    }
    }else{
    right_fixed.style.position = '';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'block';
    }
    }
    }
    });
        </script>
        <script>fixed_top_nv();</script>    </div>

	<div id="footEdit">
		<form action="<?php echo U('BBScomment/BSScomment');?>" method="post">

			<script id="container" name="ctext" type="text/plain">

			</script>
			<input id="BBSinid" type="hidden" name="inid" value="<?php echo ($InitData['inid']); ?>">
			<button>提交</button>
		</form>
		<script type="text/javascript" src="/miui/Public/Home/UEditor/ueditor.config.js"></script>
		<script type="text/javascript" src="/miui/Public/Home/UEditor/ueditor.all.js"></script>
		<script type="text/javascript">
			var ue = UE.getEditor('container');
		</script>
	</div>

</body></html>